<link rel="stylesheet" href="css/cart.css" />
<div class="c_all">
	<div class="c_top">购物车</div>
	
	<div class="c_empty" ng-show="!status">
		<div class="c_pic">
			<img src="img/cart_img.png" alt="" />
		</div>
		<div class="c_text1">亲，购物车空空的呦~</div>
		<a href="#/market热销榜">去逛逛</a>
	</div>
	
	<div class="c_content" ng-show="status">
		<div class="c_addr">鲜蜂侠需要您的精确坐标</div>
		<div class="c_super">
			<p>闪送超市</p>
			<p>￥0起送，22:00点前￥30减免运费，22:00之后满￥69减免运费</p>
		</div>
		<div class="c_time">
			<p>收货时间</p>
			<p>一小时送达</p>
			<p>可预订 ></p>
		</div>
		<div class="c_shou">
			<div>收货备注</div>
			<div>
				<input type="text" placeholder=" 可输入100字以内特殊要求内容" />
			</div>
		</div>
		<div class="c_goods">
			<ul>
				<!--(key,item)遍历时有顺序，key在前，value在后-->
				<li ng-repeat = "(key,item) in list">
					<div class="c_select" ng-click="selectFunc()">
						<label>
							<input type="checkbox" ng-model = "item.selec" />
							<div></div>
						</label>
					</div>
					<div class="c_img">
						<img ng-src="{{item.img}}" />
					</div>
					<div class="c_text2">
						<div class="c_title">{{item.name}}</div>
						<div class="c_price">￥{{item.price}}</div>
					</div>
					<div class="c_change">
						<div class="c_mult" ng-click="compute(item,-1,key)" ng-show="item.num>0"></div>
						<div class="c_num" ng-show="item.num>0">
							{{item.num}}
						</div>
						<div class="c_add" ng-click="compute(item,1,key)"></div>
					</div>
				</li>
			</ul>
		</div>
		<div class="c_total">
			<div class="c_selectAll" ng-click="selectAll()">
				<label>
					<input type="checkbox" ng-model = "selectBtn" />
					<div></div>
				</label>
			</div>
			<div class="c_a">全选</div>
			<div class="c_priceAll">
				共：<span>￥{{priceAll}}</span>
			</div>
			<div class="c_btn">
				选好了
			</div>
		</div>
	</div>
</div>
